<?php
//Start de sessie
session_start();

//the user is ready to logout
if(isset($_SESSION['admin_id']))     unset($_SESSION['admin_id']);

header("Location: ../index.php");

?>